package com.liyang.springcloud.domain;

import lombok.Data;

/**
 * @BelongsProject: cloud-2024
 * @BelongsPackage: com.liyang.springcloud.domain
 * @Author: liyang
 * @CreateTime: 2024-01-10  10:53
 * @Description: 库存
 * @Version: 1.0
 */
@Data
public class Storage {

    private Long id;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 总库存
     */
    private Integer total;

    /**
     * 已用库存
     */
    private Integer used;

    /**
     * 剩余库存
     */
    private Integer residue;
}
